home *** CD-ROM | disk | FTP | other *** search
/ Internet Info 1993 / Internet Info CD-ROM (Walnut Creek) (1993).iso / networking / ip / ka9q / net_src.arc / makefile.azt < prev    next >
Encoding:
Makefile  |  1989-05-08  |  6.9 KB  |  150 lines

  1. #
  2. #    Makefile for KA9Q TCP/IP package for PC clones with Aztec C
  3. #
  4. # switches:
  5. #    define the ones you want in the CFLAGS definition...
  6. #
  7. #
  8.  
  9. #
  10. # CFLAGS for typical IBM-PC installation
  11. #
  12. CFLAGS=    -DMSDOS +LC -DAZTEC
  13. AFLAGS= -DMODEL=1 -DAZTEC
  14.  
  15. all:    net.exe
  16.         
  17. .c.o:
  18.     cc $(CFLAGS) -o $@ $*.c
  19.  
  20. .asm.o:
  21.     as $(AFLAGS) -o $@ $*.asm
  22.  
  23. NETOBJS= telnet.o tnserv.o smisc.o \
  24.     ftpserv.o ftpcli.o ftp.o smtpserv.o smtpcli.o \
  25.     tcpcmd.o tcpuser.o tcptimer.o tcpout.o tcpin.o tcpsubr.o \
  26.     udpcmd.o udp.o \
  27.     ipcmd.o ip.o iproute.o \
  28.     icmpcmd.o icmp.o \
  29.     arpcmd.o arp.o \
  30.     ax25cmd.o ax25user.o ax25.o ax25subr.o lapbtime.o lapb.o \
  31.     ax_mbx.o \
  32.     slip.o kiss.o \
  33.     nrcmd.o nrs.o nr3.o nrsubr.o \
  34.     nr4.o nr4subr.o nr4user.o nr4timer.o \
  35.     iface.o timer.o ttydriv.o cmdparse.o mbuf.o alloc.o netuser.o \
  36.     misc.o pathname.o audit.o files.o icmpmsg.o \
  37.     fingcli.o fingserv.o mulport.o
  38.  
  39. NETDUMP = trace.o enetdump.o \
  40.     ax25dump.o arpdump.o ipdump.o icmpdump.o udpdump.o tcpdump.o
  41.  
  42. PCOBJS= dirutil.o eccmd.o ec.o ecvec.o pktdrvr.o pkvec.o enet.o \
  43.     pc100.o pc100vec.o hapn.o \
  44.     hapnvec.o 8250.o asyvec.o pcgen.o eagle.o eaglevec.o 8530.o pc.o
  45.  
  46. HFILES= amiga.h arp.h ax_mbx.h ax25.h cmdparse.h config.h dir.h \
  47.     ftp.h global.h icmp.h iface.h internet.h  ip.h kiss.h lapb.h \
  48.     mbuf.h netuser.h session.h slip.h smtp.h tcp.h telnet.h \
  49.     timer.h trace.h udp.h
  50.  
  51. net.exe:  pc.lib net.lib dump.lib makefile main.o version.o session.o
  52.     ln -t -o net.exe main.o version.o session.o net.lib pc.lib dump.lib -lclc
  53.  
  54. objects: $(NETOBJS) $(PCOBJS)
  55.     
  56. net.lib: $(NETOBJS)
  57.     lb net.lib $(NETOBJS)
  58.  
  59. dump.lib: $(NETDUMP)
  60.     lb dump.lib $(NETDUMP)
  61.  
  62. pc.lib: $(PCOBJS)
  63.     lb pc.lib $(PCOBJS)
  64.  
  65. clean:    
  66.     del *.lib
  67.     del *.o
  68.     del *.exe
  69.     del *.sym
  70.  
  71. 8530.o: 8530.c global.h 8530.h
  72. arp.o: arp.c global.h mbuf.h timer.h iface.h enet.h ax25.h arp.h
  73. arpcmd.o: arpcmd.c global.h mbuf.h timer.h enet.h ax25.h arp.h cmdparse.h
  74. arpdump.o: arpdump.c global.h mbuf.h timer.h arp.h
  75. 8250.o: 8250.c global.h asy.h 8250.h iface.h
  76. ax_mbx.o: ax_mbx.c ax_mbx.h global.h mbuf.h ax25.h timer.h iface.h lapb.h cmdparse.h netrom.h nr4.h
  77. ax25.o: ax25.c global.h mbuf.h iface.h timer.h arp.h slip.h ax25.h lapb.h heard.h
  78. ax25cmd.o: ax25cmd.c global.h mbuf.h ax25.h timer.h iface.h lapb.h cmdparse.h session.h ax_mbx.h heard.h
  79. ax25dump.o: ax25dump.c global.h mbuf.h ax25.h timer.h lapb.h trace.h
  80. ax25subr.o: ax25subr.c global.h mbuf.h timer.h ax25.h lapb.h
  81. ax25user.o: ax25user.c global.h mbuf.h timer.h ax25.h lapb.h
  82. cmdparse.o: cmdparse.c global.h trace.h cmdparse.h
  83. eagle.o: eagle.c global.h mbuf.h iface.h eagle.h 8530.h ax25.h
  84.     cc $(CFLAGS) -E300 eagle.c
  85. ec.o: ec.c global.h mbuf.h enet.h ec.h iface.h timer.h arp.h trace.h
  86. eccmd.o: eccmd.c global.h mbuf.h ec.h
  87. enet.o: enet.c global.h mbuf.h enet.h
  88. enetdump.o: enetdump.c global.h mbuf.h enet.h trace.h
  89. files.o: files.c global.h config.h
  90. fingcli.o: finger.h global.h mbuf.h timer.h internet.h icmp.h netuser.h tcp.h session.h
  91. fingserv.o: finger.h global.h mbuf.h timer.h internet.h icmp.h netuser.h tcp.h session.h
  92. ftp.o: ftp.c global.h mbuf.h netuser.h timer.h tcp.h ftp.h session.h
  93. ftpcli.o: ftpcli.c global.h mbuf.h netuser.h icmp.h timer.h tcp.h ftp.h session.h cmdparse.h
  94. ftpserv.o: ftpserv.c global.h mbuf.h netuser.h timer.h tcp.h ftp.h
  95. hapn.o: hapn.c global.h mbuf.h iface.h hapn.h ax25.h trace.h
  96. icmp.o: icmp.c global.h mbuf.h internet.h timer.h iface.h ip.h icmp.h
  97. icmpcmd.o: icmpcmd.c global.h icmp.h mbuf.h netuser.h internet.h timer.h ping.h
  98. icmpdump.o: icmpdump.c global.h mbuf.h internet.h icmp.h trace.h
  99. icmpmsg.o: icmpmsg.c global.h
  100. iface.o: iface.c iface.h
  101. ip.o: ip.c global.h mbuf.h timer.h internet.h iface.h ip.h icmp.h
  102. ipcmd.o: ipcmd.c global.h mbuf.h internet.h timer.h netuser.h iface.h ip.h cmdparse.h
  103. ipdump.o: ipdump.c global.h mbuf.h internet.h timer.h iface.h ip.h trace.h netuser.h
  104. iproute.o: iproute.c global.h mbuf.h internet.h timer.h netuser.h ip.h icmp.h iface.h trace.h
  105. kiss.o: kiss.c global.h mbuf.h iface.h kiss.h
  106. lapb.o: lapb.c global.h mbuf.h timer.h ax25.h lapb.h
  107. lapbtime.o: lapbtime.c global.h mbuf.h ax25.h timer.h lapb.h
  108. lcsum.o: lcsum.c global.h
  109. # This next line is for the PC
  110. main.o: main.c config.h global.h mbuf.h netuser.h timer.h icmp.h iface.h ip.h tcp.h ftp.h telnet.h session.h cmdparse.h asy.h trace.h remote.h
  111. # and this is for the others
  112. #main.o: main.c config.h global.h mbuf.h netuser.h timer.h icmp.h iface.h ip.h tcp.h ftp.h telnet.h session.h cmdparse.h trace.h
  113. mbuf.o: mbuf.c global.h mbuf.h
  114. mulport.o:    mulport.c global.h mbuf.h iface.h ax25.h config.h
  115. netuser.o: netuser.c global.h netuser.h
  116. nr3.o: nr3.c global.h mbuf.h iface.h timer.h arp.h slip.h ax25.h netrom.h nr4.h lapb.h
  117. nr4subr.o: nr4subr.c global.h mbuf.h timer.h ax25.h netrom.h nr4.h lapb.h
  118. nr4timer.o: nr4timer.c global.h mbuf.h timer.h ax25.h netrom.h nr4.h
  119. nr4.o: nr4.c global.h mbuf.h timer.h ax25.h netrom.h nr4.h
  120. nr4user.o: nr4user.c global.h mbuf.h timer.h ax25.h netrom.h nr4.h
  121. nrcmd.o: nrcmd.c global.h config.h mbuf.h ax25.h netrom.h nr4.h timer.h iface.h lapb.h cmdparse.h session.h config.h ax_mbx.h
  122. nrs.o: nrs.c global.h mbuf.h iface.h ax25.h nrs.h asy.h trace.h
  123. nrsubr.o: nrsubr.c global.h mbuf.h timer.h ax25.h netrom.h lapb.h
  124. pc.o: pc.c global.h mbuf.h internet.h iface.h cmdparse.h
  125. pc100.o: pc100.c global.h mbuf.h iface.h pc100.h 8530.h ax25.h trace.h
  126. pktdrvr.o: pktdrvr.c global.h mbuf.h enet.h iface.h ec.h timer.h arp.h trace.h regs.h pktdrvr.h
  127. session.o: session.c config.h global.h mbuf.h netuser.h timer.h tcp.h ax25.h lapb.h ftp.h telnet.h session.h netrom.h nr4.h
  128. # This next line is for the PC
  129. slip.o: slip.c global.h mbuf.h iface.h ax25.h slip.h asy.h trace.h
  130. # and this is for the others
  131. #slip.o: slip.c global.h mbuf.h iface.h ax25.h slip.h trace.h
  132. smisc.o: smisc.c global.h mbuf.h netuser.h timer.h tcp.h remote.h
  133. smtpcli.o: smtpcli.c global.h netuser.h mbuf.h timer.h tcp.h smtp.h trace.h
  134. smtpserv.o: smtpserv.c global.h mbuf.h netuser.h timer.h tcp.h smtp.h
  135. tcpcmd.o: tcpcmd.c global.h timer.h mbuf.h netuser.h internet.h tcp.h
  136. tcpdump.o: tcpdump.c global.h mbuf.h netuser.h internet.h timer.h tcp.h trace.h
  137. tcpin.o: tcpin.c global.h timer.h mbuf.h netuser.h internet.h tcp.h icmp.h iface.h ip.h
  138. tcpout.o: tcpout.c global.h timer.h mbuf.h netuser.h internet.h tcp.h
  139. tcpsubr.o: tcpsubr.c global.h timer.h mbuf.h netuser.h internet.h tcp.h
  140. tcptimer.o: tcptimer.c global.h timer.h mbuf.h netuser.h internet.h ip.h tcp.h
  141. tcpuser.o: tcpuser.c global.h timer.h mbuf.h netuser.h internet.h tcp.h
  142. telnet.o: telnet.c global.h mbuf.h timer.h internet.h icmp.h netuser.h tcp.h telnet.h session.h
  143. tnserv.o: tnserv.c global.h mbuf.h timer.h internet.h icmp.h netuser.h tcp.h telnet.h session.h
  144. trace.o: global.h mbuf.h iface.h trace.h
  145. timer.o: timer.c global.h timer.h
  146. udp.o: udp.c global.h mbuf.h netuser.h udp.h internet.h
  147. udpcmd.o: udpcmd.c global.h mbuf.h netuser.h udp.h internet.h
  148. udpdump.o: udpdump.c global.h mbuf.h netuser.h internet.h udp.h
  149. version.o: version.c
  150.